package com.chen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author chen
 * @date 2022/5/9 11:11
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("point")
@ApiModel(value = "积分",description = "")
public class Point implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private BigDecimal point;

    private BigDecimal money;

    private String name;

    private Date time;

    private String username;  //上传人
}
